package cn.com.wms.Base;

/**
 * 
 * @author zbzhu
 * 创建日期 2011-7-6
 * 类名      Sorter.java
 * 说明   排序
 */
public class Sorter {
	public static final String ASC="asc";
	public static final String DESC="desc";
	private String sortOrder=DESC;
	private String sortName;
	private String alias;
	
	public Sorter(){
		
	}
	
	public Sorter(String alias , String sortName, String sortOrder) {
		super();
		this.alias = alias;
		this.sortOrder = sortOrder;
		this.sortName = sortName;
	}

	public Sorter( String sortName,String sortOrder) {
		super();
		this.sortOrder = sortOrder;
		this.sortName = sortName;
	}
	
	public String getSortOrder() {
		return sortOrder;
	}
	
	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}
	public String getSortName() {
		return sortName;
	}
	public void setSortName(String sortName) {
		this.sortName = sortName;
	}
	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}
}
